package com.example.glgk.mapper;

import com.example.glgk.dto.QueryEscalation;
import com.example.glgk.dto.indicator.IndicatorCalculateDto;
import com.example.glgk.entity.DepartmentIndicatorEntity;
import com.example.glgk.entity.report.ElementEntity;
import com.example.glgk.entity.report.QueryIndexEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author lxk
 */
@Mapper
public interface ElementDataMonthMapper {

    List<DepartmentIndicatorEntity> queryEscalation(QueryEscalation queryEscalation);

    /**
     * 部门/科室页面用
     * @param queryEscalation
     * @return
     */
    List<DepartmentIndicatorEntity> queryEscalationDept(QueryEscalation queryEscalation);

    List<ElementEntity> queryIndexValue(QueryIndexEntity indexEntity);

    List<DepartmentIndicatorEntity> queryData(IndicatorCalculateDto indicatorCalculateDto);

    //-----------------------------------------------数据查询接口重构使用---------------------------
    List<DepartmentIndicatorEntity> queryEscalationNew(QueryEscalation queryEscalation);
}
